import { post, get, remove } from '@/security/request'
import { Application_Form } from '@/utils/keyWord'

export function getPageApi(data: any): Promise<IPageResult<any>> {
    return get("/admin/coin/recharge/page",  data);
}

export function replenishmentApi(data: any): Promise<IRespResult<any>> {
    return post("/admin/coin/recharge/replenishment",  data);
}

export function getOneApi(data: any): Promise<IPageResult<any>> {
    return get("/admin/coin/recharge/getOne",  data, Application_Form);
}

export function delApi(data: any): Promise<IPageResult<any>> {
    return remove("/admin/coin/recharge/del",  data, Application_Form);
}